The fflush() function writes all buffered output to an open file.
Returns TRUE on success and FALSE on failure.